package main

import (
	"flag"
	"fmt"
	"github.com/spf13/pflag"
)

var (
	vlanRange              = pflag.String("vlan-range", "1-4096", "vlan id scope")
	bridgeName             = pflag.String("bridge-name", "br-provider", "bridge name")
)

//go run pflagS.go --vlan-range="test" --bridge-name="ccc"
func main() {
	pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
	pflag.Parse()
	fmt.Println(*vlanRange, *bridgeName)
}
